using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GameStandardValue : MonoBehaviour
{
    [Tooltip("速度乘值")]
    public float SpeedFactor = 10f;
    [Tooltip("速度基准")]
    public float StandardSpeed = 2f;
    [Tooltip("重量基准")]
    public float StandardWeight = 2f;
    [Tooltip("大小基准")]
    public float StandardSize = 2f;
    [Tooltip("最大发射力度需要达到的距离")]
    public float ejectMaxDistance = 5;
    [Tooltip("最大发射力度反馈线的长度（标准速度情况）")]
    public float feedBackDistance = 10;
    [Tooltip("发射时赋予的最大抬升速度")]
    public float upliftMaxSpeed = 0.5f;
    [Tooltip("发射时赋予的最大角速度")]
    public float ejectAngularSpeed = 2f;

    [Tooltip("生命值")]
    public int health = 20;

    public Color selfColor;
    public Color selfColorHalo;

    public Color neutralColor;
    public Color neutralColorHalo;

    public Color enemyColor;
    public Color enemyColorHalo;

    public Gradient selfTrailColor;
    public Gradient enemyTrailColor;

    public Color diceTextColor;
    public Color diceTextincreaseColor;
    public Color diceTextReduceColor;
    
    public AnimationCurve explodeRangeCurve;
    public AnimationCurve ejectRangeCurve;
    public AnimationCurve ejectRangeCurve_Enemy;

    public static GameStandardValue instance;

    private void Awake()
    {
        if (instance)
        {
            Destroy(gameObject);
        }
        else
        {
            instance = this;
            DontDestroyOnLoad(gameObject);
        }
    }
}
